package com.streamsets.datacollector.model.etl;

import java.util.List;

/**
 *   字段清除，Stage Dto
 *   示例
 "configuration" : [ {
 "name" : "filterOperation",
 "value" : "REMOVE"
 }, {
 "name" : "fields",
 "value" : [ "/remark", "/is_deleted", "/created_by", "/created_dt", "/updated_by", "/updated_dt", "/version" ]
 }....
 * @author wengzhonghui
 * @date 2020/9/16 11:26
 */
public class FieldRemoveConfigJson {


    /* 屏蔽某一列的值
     * 示例："value" : [ "/remark", "/is_deleted", "/created_by", "/created_dt", "/updated_by", "/updated_dt", "/version" ]
     */
    private List<String> fieldToRemoveColumns;

    /**
     * 操作 KEEP/REMOVE
     */
    private String filterOperation;

    public List<String> getFieldToRemoveColumns() {
        return fieldToRemoveColumns;
    }

    public void setFieldToRemoveColumns(List<String> fieldToRemoveColumns) {
        this.fieldToRemoveColumns = fieldToRemoveColumns;
    }

    public String getFilterOperation() {
        return filterOperation;
    }

    public void setFilterOperation(String filterOperation) {
        this.filterOperation = filterOperation;
    }
}
